package com.ruoyi.work.domain;

import java.util.Map;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
/**
 * 救援任务人员对象 tb_work_order_user
 *
 * @author szm
 * @date 2025-11-06
 */
@Data
@TableName("tb_work_order_user")
@ApiModel(value = "TbWorkOrderUser对象", description = "救援任务人员")
public class TbWorkOrderUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /** 任务编号 */
    @Excel(name = "任务编号")
    @ApiModelProperty("任务编号")
    @TableField(value = "work_no")
    private String workNo;

    /** 救援人 */
    @Excel(name = "救援人")
    @ApiModelProperty("救援人")
    @TableField(value = "user_no")
    private String userNo;

    /** 救援人姓名 */
    @Excel(name = "救援人姓名")
    @ApiModelProperty("救援人姓名")
    @TableField(value = "user_name")
    private String userName;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    @TableField(value = "phone")
    private String phone;

    /** 人员类型 */
    @Excel(name = "人员类型")
    @ApiModelProperty("人员类型")
    @TableField(value = "user_type")
    private String userType;

    /** 钉钉id */
    @Excel(name = "钉钉id")
    @ApiModelProperty("钉钉id")
    @TableField(value = "dingding_id")
    private String dingdingId;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    @TableField(value = "remark")
    private String remark;

    /** 1 作业中 2结束 99取消 */
    @Excel(name = "1 作业中 2结束 99取消")
    @ApiModelProperty("1 作业中 2结束 99取消")
    @TableField(value = "status")
    private String status;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params;


    @ApiModelProperty("经度")
    @TableField(exist = false)
    private String longitude;

    /** 维度 */
    @ApiModelProperty("维度")
    @TableField(exist = false)
    private String latitude;
}
